package com.neusoft.controller;

import com.neusoft.po.ResponseBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/fallback")
public class FallBackController {

    @GetMapping("/error")
    public ResponseBean fallback(){
        return new ResponseBean(700,"网关熔断");
    }

}
